<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Tag_widget extends MY_Widget {
  function __construct(){
    parent::__construct();
  }

  function run(){
  	$this->load->model("tag_model","tagModel");
    $data= $this->tagModel->get();
  	$this->_assign('tagname',$data);

    return $this->_fetch("tag");
  }
}